
//------------------------------------------------------------------------------
  
using System;
using System.ComponentModel.DataAnnotations;
namespace Apps.Models
{

	public partial class CY_COAL_STRUCTUREModel:Virtual_CY_COAL_STRUCTUREModel
	{
        /// <summary>
        /// 煤场编号
        /// </summary>
        public string COALYARD_ID { set; get; }

        /// <summary>
        /// 煤场名称
        /// </summary>
        public string COALYARD_NAME { set; get; }

        /// <summary>
        /// 分区编号
        /// </summary>
        public string PARTITION_ID { set; get; }

        /// <summary>
        /// 分区名称
        /// </summary>
        public string PARTITION_NAME { set; get; }

        /// <summary>
        /// 物料编号
        /// </summary>
        public string MATERIEL_ID { set; get; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string MATERIEL_NAME { set; get; }

        /// <summary>
        /// 堆层名称
        /// </summary>
        public string STOCKPILE_NAME { set; get; }

        /// <summary>
        /// 煤堆起始长度 X轴起点
        /// </summary>
        public decimal BEGIN_LENGTH { set; get; }

        /// <summary>
        /// 煤堆终止长度 X轴终点
        /// </summary>
        public decimal END_LENGTH { set; get; }

        /// <summary>
        /// 煤堆起始宽度 Y轴起点
        /// </summary>
        public decimal BEGIN_WIDTH { set; get; }

        /// <summary>
        /// 煤堆终止宽度 Y轴终点
        /// </summary>
        public decimal END_WIDTH { set; get; }

        /// <summary>
        /// 煤堆起始高度 Z轴起点
        /// </summary>
        public decimal BEGIN_HEIGHT { set; get; }

        /// <summary>
        /// 煤堆终止高度 Z轴终点
        /// </summary>
        public decimal END_HEIGHT { set; get; }

        public decimal ShowTotal
        {
            get
            {
                return TOTAL == null ? 0 : Convert.ToDecimal(TOTAL);
            }
        }

    }
	public class Virtual_CY_COAL_STRUCTUREModel
	{
        
        [Display(Name = "煤场分区堆层编号")]
		public virtual string STOCKPILE_ID { get; set; }
		[Display(Name = "存煤总量")]
		public virtual Nullable<decimal> TOTAL { get; set; }
		[Display(Name = "水分")]
		public virtual Nullable<decimal> MT { get; set; }
		[Display(Name = "收到基灰分")]
		public virtual Nullable<decimal> AAR { get; set; }
		[Display(Name = "收到基挥发分")]
		public virtual Nullable<decimal> VAR { get; set; }
		[Display(Name = "干燥无灰基挥发分")]
		public virtual Nullable<decimal> VDAF { get; set; }
		[Display(Name = "干燥基全硫")]
		public virtual Nullable<decimal> STD { get; set; }
		[Display(Name = "收到基低位发热量(MJ/KG)")]
		public virtual Nullable<decimal> QNETAR_MJ { get; set; }
		[Display(Name = "收到基低位发热量(KACL/KG)")]
		public virtual Nullable<decimal> QNETAR_KACL { get; set; }
		[Display(Name = "焦渣特性")]
		public virtual Nullable<byte> CRC { get; set; }
		[Display(Name = "煤堆库存变化时间")]
		public virtual Nullable<System.DateTime> PILE_TIME { get; set; }
		}
}
